Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
NikCharlebois committed Dec 11, 2019
1 parent a70536a commit f2fdd9b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function Get-TargetResource

[Parameter()]
[System.String]
[ValidateSet("ExternalUserAndGuestSharing", "Disabled", "ExternalUserSharingOnly")]
[ValidateSet("ExistingExternalUserSharingOnly", "ExternalUserAndGuestSharing", "Disabled", "ExternalUserSharingOnly")]
$SharingCapability,

[Parameter()]
Expand Down Expand Up @@ -192,7 +192,7 @@ function Set-TargetResource

[Parameter()]
[System.String]
[ValidateSet("ExternalUserAndGuestSharing", "Disabled", "ExternalUserSharingOnly")]
[ValidateSet("ExistingExternalUserSharingOnly", "ExternalUserAndGuestSharing", "Disabled", "ExternalUserSharingOnly")]
$SharingCapability,

[Parameter()]
Expand Down Expand Up @@ -353,7 +353,7 @@ function Test-TargetResource

[Parameter()]
[System.String]
[ValidateSet("ExternalUserAndGuestSharing", "Disabled", "ExternalUserSharingOnly")]
[ValidateSet("ExistingExternalUserSharingOnly", "ExternalUserAndGuestSharing", "Disabled", "ExternalUserSharingOnly")]
$SharingCapability,

[Parameter()]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
class MSFT_SPOSharingSettings : OMI_BaseResource
{
[Key, Description("Specifies the resource is a single instance, the value must be 'Yes'"),ValueMap{"Yes"},Values{"Yes"}] String IsSingleInstance;
[Write, Description("Configures anonymous link types for folders"),ValueMap{"ExternalUserAndGuestSharing","Disabled","ExternalUserSharingOnly"},Values{"ExternalUserAndGuestSharing","Disabled","ExternalUserSharingOnly"}] string SharingCapability;
[Write, Description("Configures anonymous link types for folders"),ValueMap{"ExistingExternalUserSharingOnly","ExternalUserAndGuestSharing","Disabled","ExternalUserSharingOnly"},Values{"ExistingExternalUserSharingOnly","ExternalUserAndGuestSharing","Disabled","ExternalUserSharingOnly"}] string SharingCapability;
[Write, Description("Enables the administrator to hide the Everyone claim in the People Picker.")] boolean ShowEveryoneClaim;
[Write, Description("Enables the administrator to hide the All Users claim groups in People Picker.")] boolean ShowAllUsersClaim;
[Write, Description("Enables the administrator to hide the Everyone except external users claim in the People Picker.")] boolean ShowEveryoneExceptExternalUsersClaim;
Expand Down

0 comments on commit f2fdd9b

Please sign in to comment.