Scribd.Net.User.ValidateCredentials

Validates the specified credentials against the Scribd service.

Signature(s)

  • public User ValidateCredentials(string userName, string password)

Parameter(s)

  • string userName : The user name to assign to the user.
  • string password : The password assigned to the user.

Return Value

  • User null if the credentials are not valid. A valid User otherwise.

Usage Example

            Scribd.Net.User someUser = Scribd.Net.User.ValidateCredentials("johndoe", "password");
            if (someUser != null)
            {
                // get all the documents for "johndoe"
                System.Collections.Generic.List<Scribd.Net.Document> documents = someUser.Documents;
            }


See Also

Last edited Aug 11, 2010 at 12:57 AM by peterjp, version 7

Comments

No comments yet.