Sintassi - TfsLabConfig permissions /collection: /allow:(* |perm1[,perm2,.]) /deny:(* |perm1[,perm2,.]) /remove:(* |perm1[,perm2,.]) ...

Sintassi -
TfsLabConfig permissions
             /collection:
             []
             [/allow:(* |perm1[,perm2,...])] 
             [/deny:(* |perm1[,perm2,...])]
             [/remove:(* |perm1[,perm2,...])]
             [/inherit:yes|no]
             [/user:userName1[,userName2,...]]
             [/group:groupName1[,groupName2,...]]


Identificatori di ObjectSpec:

             /url:VSTFS:///LabManagement//

             /teamProjectCollectionHostGroup:
                             
                 | /teamProjectCollectionLibraryShare:
                             

             /teamProject:
             [/teamProjectLibraryShare:* | /teamProjectHostGroup:*]

             /teamProject: 
             /teamProjectLibraryShare:
             [/labEnvironment:
                 | /labTemplate:]

             /teamProject: 
             /teamProjectHostGroup:
             [/labEnvironment:]



Elenco delle autorizzazioni: ManageLocation, DeleteLocation,
                     Read, Create, Write, Edit, Delete,
                     Start, Stop, Pause, ManageSnapshots,
                     ManagePermissions, ManageChildPermissions,
                     EnvironmentOps, FullControl


Esempi:

TfsLabConfig Permissions 
             /collection:http://abc:8080/TFS/Collection0
             /user:domain1\user1 /allow:Read

TfsLabConfig Permissions 
             /collection:http://abc:8080/TFS/Collection0
             /Url:VSTFS:///LabManagement/TeamProjectLibraryShare/102
             /user:domain1\alias1 /allow:Create
             
TfsLabConfig Permissions 
             /collection:http://abc:8080/TFS/DefaultCollection /teamProject:P1
             /teamProjectHostGroup:PHG1 /LabEnvironment:LE1
             /group:"[Project1]
eaders" /allow:Start /deny:Stop
                        
TfsLabConfig Permissions 
             /collection:http://abc:8080/TFS/Collection0 /teamProject:Project1
             /teamProjectLibraryShare:PLS1 /LabTemplate:LT1
             
TFSLabConfig Permissions 
             /collection:http://abc:8080/TFS/Collection1
             /Url:VSTFS:///LabManagement/LabEnvironment/14 /user:domain1\user1
                  
TfsLabConfig Permissions 
             /collection:http://abc:8080/TFS/Collection0 /teamProject:Project1
             /teamProjectHostGroup:PHG1 /LabEnvironment:LE1 /inherit:no