AWS SDK for .NET Documentation
WithPrincipals Method (principals)
AmazonAmazon.Auth.AccessControlPolicyStatementWithPrincipals(array<Principal>[]()[][]) Did this page help you?   Yes   No    Tell us about it...
Sets the principals associated with this policy statement, and returns this updated Statement object. Principals control which AWS accounts are affected by this policy statement.

If you don't want to restrict your policy to specific users, you can use AllUsers to apply the policy to any user trying to access your resource.

Declaration Syntax
[ObsoleteAttribute("The With methods are obsolete and will be removed in version 2 of the AWS SDK for .NET. See for more information.")]
public Statement WithPrincipals(
	params Principal[] principals
principals (array<Principal>[]()[][])
The list of principals associated with this policy statement.
Return Value
this instance

Assembly: AWSSDK (Module: AWSSDK) Version: (